package com.web.controller.schoolManagement;

import com.common.apiresult.CommonResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

/**
 * @author liuxuhuang
 * @date 2023年04月04日 11:42
 * @desc 楼宇控制器
 */
@RestController
@Api(value = "build", tags = "楼宇控制器")
@RequestMapping(value = "/schoolManagement/build")
@Slf4j
public class BuildController {
    @GetMapping
    @ApiOperation(value = "获取楼宇信息")
    public CommonResult get() {
        return CommonResult.success();
    }

    @PutMapping
    @ApiOperation(value = "修改楼宇")
    public CommonResult update() {
        return CommonResult.success();
    }

    @DeleteMapping
    @ApiOperation(value = "删除楼宇")
    public CommonResult delete() {
        return CommonResult.success();
    }

    @PostMapping
    @ApiOperation(value = "新增楼宇")
    public CommonResult add() {
        return CommonResult.success();
    }
}
